//
//  ContentTableViewCell.h
//  XRSquare
//
//  Created by UaenaMo on 2018/7/26.
//  Copyright © 2018年 UaenaMo. All rights reserved.
//

#import <UIKit/UIKit.h>

@protocol contentSelectionDelegate <NSObject>

-(void)selectedContent:(NSDictionary *)content title:(NSIndexPath *)title;

-(void)selectContentIndex:(NSInteger)index;

@end

@interface ContentTableViewCell : UITableViewCell

@property(nonatomic,strong)NSIndexPath * contentindexPath;

@property(nonatomic,assign)id<contentSelectionDelegate>delegate;

@property(nonatomic,strong)NSIndexPath * indexPathCurrent;

+(CGFloat)heightwithData:(NSArray *)data;

-(void)loadData:(NSArray *)data title:(NSString *)title;

@end
